package com.aoxin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.aoxin.model.SlfActivityRule;

@Mapper
public interface SlfActivityRuleMapper {
    /**
     * 活动规则删除
     * @param activityRuleId
     * @return
     */
    Integer deleteSlfActivityRule(List<Integer> activityRuleId);

    /**
     *
     * 活动规则添加
     * @param slfActivityRule
     * @return
     */
    Integer insertSlfActivityRule(SlfActivityRule slfActivityRule);

    /**
     * 活动规则查询
     * @param slfActivity
     * @return
     */
    List<SlfActivityRule> getSlfActivityRule(SlfActivityRule slfActivity);

    /**
     * 活动规则修改
     * @param slfActivityRule
     * @return
     */
    Integer updateSlfActivityRule(SlfActivityRule slfActivityRule);

    /**
     * 活动规则全部查询
     * @return
     */
    List<SlfActivityRule> getBySlfActivityRule(SlfActivityRule slfActivityRule);


}